//
//  ARRequestModel.h
//  BrushFace
//
//  Created by timer_q on 16/1/17.
//  Copyright © 2016年 Zzz. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ARRequestModel : NSObject
AS_SINGLETON(ARRequestModel)


@property (nonatomic,assign)NSInteger baseType;
@property (nonatomic,assign)NSInteger pageType;
@property (nonatomic,strong)NSString *hopeId;

/**
 *  获取借款基本信息
 */
- (void)fetchBaseInfoData:(void(^)(id output))CB;

/**
 *  获取借款信息
 */
- (void)fetchBorrowInfoAndCB:(void(^)(id output))CB;

/**
 *  获取还款计划
 */
- (void)fetchRepayPlanAndCB:(void(^)(id output))CB;

/**
 *  获取出借记录
 */
- (void)fetchBorrowOutAndCB:(void(^)(id output))CB;

/**
 *  获取回款计划列表
 */
- (void)fetchHuiKuanAndCB:(void(^)(id output))CB;


/**
 *  获取评论列表
 */
- (void)fetchPingLunListAndCB:(void(^)(id output))CB;

/**
 *  发布评论
 */
- (void)sendPingLunWithText:(NSString *)str andCB:(void(^)(id output))CB;


#pragma mark---------xuxuejiao
//添加了一个方法

- (void)youhuiquanCountAndCB:(void(^)(id output))CB;



//还款user/getrepayinfo.json
//还款 还款计划user/repayhope.json
//还款选择优惠券  hope/getlendcouponslist.json
/**
 */


//可出借
// 计算借款回款计划   hope/genincomeforapp.json
// 选择出借优惠券    hope/getborrowcouponslist.json

/**
 *  确认出借获取基础信息
 */
- (void)fetchCanBorrowWithHopeId:(NSString *)hopeId andCB:(void(^)(id output))CB;


/**
 *  还款时获取信息
 */
- (void)user_getRepayInfoWithHopeId:(NSString *)hopeID andCB:(void(^)(id output))CB;

/**
 *  获取还款优惠券列表
 */
- (void)hope_getLendCouponsListAndCB:(void(^)(id output))CB;

/**
 *  还款接口
 */
- (void)user_repayHope4appWithHopeID:(NSString *)hopeID andCouponsid:(NSString *)conpousID andCB:(void (^)(id output))CB;

@end
